﻿using ZR.Model;
using ZR.Model.System;
using ZR.Service;

namespace ZR.ServiceCore.Services.IService;

public interface IBaseCodeRuleService : IBaseService<BaseCodeRule>
{
    public Task<int> InsertBaseCodeRuleAsync(BaseCodeRule baseCodeRule);
    
    public Task<int> DeleteBaseCodeRuleAsync(string code);
    
    public Task<int> UpdateBaseCodeRule(BaseCodeRule baseCodeRule);

    public PagedInfo<BaseCodeRule> SelectBaseCodeRulePage(BaseCodeRule baseCodeRule, PagerInfo pager);
}